<template>
  <div>
    <FormPanel ref="formPanel" :list="formTxList" :cols="3" :labelWidth="100" formType="add" :isSubmitBtn="false" @formChange="formChangeHandle" />
  </div>
</template>
<script>
export default {
  name: 'SFyy',
  data() {
    return {
      formTxList: this.createFormTxList()
    };
  },
  methods: {
    createFormTxList() {
      return [
        {
          type: 'TEXT_AREA',
          label: '事实调查',
          fieldName: '',
          placeholder: ''
        },
        {
          type: 'INPUT',
          label: '销售店',
          fieldName: '',
          placeholder: '',
          itemList: []
          // rules: [{ required: true, message: '请输入角色名称', trigger: 'blur' }]
        },
        {
          type: 'INPUT',
          label: '回访人员',
          fieldName: '',
          placeholder: '',
          itemList: []
          // rules: [{ required: true, message: '请输入角色名称', trigger: 'blur' }]
        },
        {
          type: 'SELECT',
          label: '回访时间',
          fieldName: '',
          placeholder: '',
          itemList: []
          // rules: [{ required: true, message: '请输入角色名称', trigger: 'blur' }]
        },
        {
          type: 'INPUT',
          label: '时间调查人',
          fieldName: '',
          placeholder: ''
          // rules: [{ required: true, message: '请输入角色名称', trigger: 'blur' }]
        },
        {
          type: 'INPUT',
          label: '事件调查时间',
          fieldName: '',
          placeholder: ''
          // rules: [{ required: true, message: '请输入角色名称', trigger: 'blur' }]
        },
        {
          type: 'INPUT',
          label: '记录人',
          fieldName: '',
          placeholder: ''
          // rules: [{ required: true, message: '请输入角色名称', trigger: 'blur' }]
        },
        {
          type: 'INPUT',
          label: '记录时间',
          fieldName: '',
          placeholder: ''
          // rules: [{ required: true, message: '请输入角色名称', trigger: 'blur' }]
        },
        {
          type: 'SELECT',
          label: '处理结果',
          fieldName: '',
          placeholder: '',
          itemList: []
          // rules: [{ required: true, message: '请输入角色名称', trigger: 'blur' }]
        },
        {
          type: 'TEXT_AREA',
          label: '科长审批意见',
          fieldName: '',
          placeholder: ''
        },
        {
          type: 'TEXT_AREA',
          label: '回访内容',
          fieldName: '',
          placeholder: ''
        }
      ];
    },
    formChangeHandle(val) {}
  }
};
</script>
<style lang="less" scoped></style>
